import { S } from '../../../s';
import { IPSDEFVRSimpleCondition } from './ipsdefvrsimple-condition';
import { PSDEFVRSingleConditionImpl } from './psdefvrsingle-condition-impl';

export class PSDEFVRSimpleConditionImpl
  extends PSDEFVRSingleConditionImpl
  implements IPSDEFVRSimpleCondition
{
  get condOp(): string {
    return this.M.condOp;
  }

  get paramType(): 'ENTITYFIELD' | 'CURTIME' {
    return this.M.paramType;
  }

  get paramValue(): string {
    return this.M.paramValue;
  }
  get cls(): string {
    return 'PSDEFVRSimpleConditionImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._1ca) return true;
    return super.instanceof(cls);
  }
}
